﻿<?php
//基本配置文件
include_once "./conf/conf.inc";

//类别配置文件
include_once "./conf/type.inc";
//
include_once "./conf/conf_level_role.inc";

//功能类
include_once "./util/util.php";
include_once "./util/DBHelper.php";

include_once "./process/process.php";
include_once "./process/process_config.php";
include_once "./process/process_log.php";

function Main()
{
	$command_page = GetCommandPage();
	$command_type = GetCommandType();

	switch($command_page)
	{
		case "upload":
			DoCommandUpload($command_type);
			break;
		case "info":
			DoCommandInfo($command_type);;
			break;
		case "paging":
			DoCommandPagind($command_type);
			break;
			
		case "paging_sys_config":
			DoCommandPagindSysConfig($command_type);
			break;
        case "sys_config":
            DoCommandSysConfig($command_type);
            break;
			
		case "paging_sys_log":
			DoCommandPagindSysLog($command_type);
			break;
        case "sys_log":
            DoCommandSysLog($command_type);
            break;

		default:
			break;
	}
}

Main(); //主执行函数
?>
